<?php $this->lang->load('nob_trail_inscription', $this->session->userdata('lg'));?>
<fieldset>
<legend>Inscription</legend>
<?php echo form_open('courses/trail/submitInscriptions'); ?>
	<table>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_race');?></label></td>
			<td>
				<select name="course" id="course" class="required" style="width: 142px;">
					<option value="" ></option>
					<option value="MINI" <?php echo set_select('course','MINI'); ?>>Mini Trail 25 kms</option>
					<option value="MAXI" <?php echo set_select('course','MAXI'); ?>>Maxi Trail 50 kms</option>
				</select>
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_last_name'); ?></label></td>
			<td>
				<input type="text" name="lastName" id="lastName" class="required" value="<?php echo set_value('lastName'); ?>"/>
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_first_name'); ?></label></td>
			<td>
				<input type="text" name="firstName" id="firstName" class="required" value="<?php echo set_value('firstName'); ?>"/>
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_ddn'); ?></label></td>
			<td>
				<input type="text" name="birthDate"  class="required" id="birthDate" value="<?php echo set_value('birthDate'); ?>" />
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_mail'); ?></label></td>
			<td>
				<input type="email" name="email" class="required" id="email" value="<?php echo set_value('email'); ?>"/>
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_sex'); ?></label></td>
			<td>
				<select name="sex" id="sex" style="width: 142px;" >
				
					<option value="H" <?php echo set_select('sex','H'); ?>><?php echo $this->lang->line('inscr_tab_man'); ?></option>
					<option value="F" <?php echo set_select('sex','F'); ?>><?php echo $this->lang->line('inscr_tab_woman'); ?></option>
					
				</select>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_zip'); ?></label></td>
			<td>
				<input type="text" name="zipCode" class="required" id="zipCode" value="<?php echo set_value('zipCode'); ?>"/>
				<img src="/nobressart/images/icons/required-field.png"/>
			</td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_country'); ?></label></td>
			<td><?php $this->load->view("courses/trail/form/pays"); ?></td>
		</tr>
		<tr>
			<td><label><?php echo $this->lang->line('inscr_tab_club'); ?></label></td>
			<td><input type="text" name="club" id="club" value="<?php echo set_value('club'); ?>" maxlength="50"/></td>
		</tr>
		<tr>
			<td><input type="submit" value="Je m'inscris" /></td>
		</tr>
	</table>
</form>
</fieldset>

